const path = require("path")
const themePath = path.join(__dirname, "./src/theme.less")

module.exports = {
  publicPath: "./",
  css: {
    loaderOptions: {
      less: {
        modifyVars: {
          // 为了修改Vant的样式
          hack: `true; @import "${themePath}";`
        }
      }
    }
  }
}
